<layout name="layout" />
<ul class="uk-breadcrumb">
    <li><a href="__APP__">Home</a></li>
    <li><a href="__CONTROLLER__/index">My Account</a></li>
    <li class="uk-active"><span>Profile</span></li>
</ul>
<form class="uk-form" method="post" action="__CONTROLLER__/updateProfile">
    <input type="hidden" name="cs_id" value="{$user_info.cs_id}" />
    <table class="uk-table">
        <tr>
            <td width=150>Email</td>
            <td>
                <input type="text" name="cs_email" value="{$user_info.cs_email}" />
            </td>
        </tr>
        <tr>
            <td>Password</td>
            <td>
                <input type="password" name="new_pwd" /> *leave empty if you don't want to modify password
            </td>
        </tr>
        <tr>
            <td>First Name</td>
            <td>
                <input type="text" name="cs_firstname" value="{$user_info.cs_firstname}" />
            </td>
        </tr>
        <tr>
            <td>Last Name</td>
            <td>
                <input type="text" name="cs_lastname" value="{$user_info.cs_lastname}" />
            </td>
        </tr>
        <tr>
            <td>Phone</td>
            <td>
                <input type="text" name="cs_phone" value="{$user_info.cs_phone}" />
            </td>
        </tr>
        <tr>
            <td>Gender</td>
            <td>
                <label>
                    <input type="radio" name="cs_gender" value="1" <eq name="user_info.cs_gender" value="1">checked</eq> />&nbsp;Male</label>
                <label>
                    <input type="radio" name="cs_gender" value="0" <eq name="user_info.cs_gender" value="0">checked</eq> />&nbsp;Female</label>
            </td>
        </tr>
        <tr>
            <td>Birthday</td>
            <td>
                <input type="text" name="cs_birthday" value="{$user_info.cs_birthday}" />
            </td>
        </tr>
        <tr>
            <td>--</td>
            <td>
                <button type="submit" class="uk-button uk-button-danger">Edit</button>
            </td>
        </tr>
    </table>
</form>
